﻿using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;
using Microsoft.Xna.Framework.Net;
using Microsoft.Xna.Framework.Storage;

namespace _0712502_0712504_DesignPatternGame
{
    public class MapMatrix
    {
        public int numofRow;
        public int numofColumn;
        public Point ImgDrawingSize;
        public Point ImgRealSize;
        public int[,] Matrix;
        public Point StartDrawingPoint;

        public MapMatrix()
        {

        }
        public MapMatrix(int Row, int Column, int[,] matrix, Point startDrawingPoin, Point imgRealSize, Point imgDrawingSize)
        {
            InitMapMatrix(Row, Column, matrix, startDrawingPoin, imgRealSize, imgDrawingSize);
        }

        public void InitMapMatrix(int Row, int Column, int[,] matrix, Point startDrawingPoint, Point imgRealSize, Point imgDrawingSize)
        {
            numofRow = Row;
            numofColumn = Column;

            Matrix = matrix;
            StartDrawingPoint = startDrawingPoint;
            this.ImgDrawingSize = imgDrawingSize;
            this.ImgRealSize = imgRealSize;
        }
    }
}
